package com.mesd.killer.table;

import javax.swing.table.TableColumn;

public class FTableColumn extends TableColumn {
	private static final long serialVersionUID = 9054356503881012131L;
	private String colName;
	private String colKey;
	private boolean show = true;

	public FTableColumn() {
		this(0);
	}

	public FTableColumn(int i) {
		super(i);
	}
	
	public FTableColumn (String colKey,String colName)
	{
		this();
		this.colName = colName;
		this.colKey = colKey;
	}

	public String getColName() {
		return colName;
	}

	public void setColName(String colName) {
		this.colName = colName;
	}

	public String getColKey() {
		return colKey;
	}

	public void setColKey(String colKey) {
		this.colKey = colKey;
	}

	public boolean isShow() {
		return show;
	}

	public void setShow(boolean show) {
		this.show = show;
	}

	public String toString() {
		return colName;
	}

}
